package com.zyx.spring5msb.iocanno.service;

import com.zyx.spring5msb.iocanno.dao.PersonDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Yaxi.Zhang
 * @since 2021/9/28 10:52
 */
@Service
public class PersonService2 {

    @Autowired
    private PersonDao personDao;

    public void save() {
        System.out.println("PersonService2......");
        personDao.save();
    }

}
